package com.jky.trial.mapper;

import com.jky.trial.entity.TaskPersonDetail;
import com.jky.trial.entity.TaskPersonDetailExample;
import com.jky.trial.vo.TaskPersonDetailVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TaskPersonDetailMapper {
    long countByExample(TaskPersonDetailExample example);

    int deleteByExample(TaskPersonDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TaskPersonDetail record);

    int insertSelective(TaskPersonDetail record);

    List<TaskPersonDetail> selectByExample(TaskPersonDetailExample example);

    TaskPersonDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TaskPersonDetail record, @Param("example") TaskPersonDetailExample example);

    int updateByExample(@Param("record") TaskPersonDetail record, @Param("example") TaskPersonDetailExample example);

    int updateByPrimaryKeySelective(TaskPersonDetail record);

    int updateByPrimaryKey(TaskPersonDetail record);

    List<TaskPersonDetailVo> pageList(TaskPersonDetailVo example);

}